package org.example.market_spring.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class Goods {
    //商品编号
    private String id;
    //商品名称
    private String goodsName;
    //商品类型
    private String goodsType;
    //供应商编号
    private String gyId;
    //供应商
    private String gyShang;
    //销售价格
    private Double cbPrice;
    //销售价格
    private Double salePrice;
    //销售数量
    private int saleNum;
    //库存数量
    private int storeNum;
    //出库数量
    private int outNum;
    //缺货数量
    private int qhNum;
    //采购数量
    private int cgNum;
    //总金额
    private Double totalAmount;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createDate;
    private String principal;

}
